

$(document).ready(function ()
{
    var lbCloud = $("#lbCloud");
    var lbHistogram = $("#lbHistogram");
    var contentHisto = $("#contentHisto");
    var contentFlow = $("#contentCloud");
    
    lbCloud.hide();
    contentFlow.fadeIn(500);
    lbCloud.fadeIn(500);
    lbHistogram.fadeTo(500, 0.1);
    contentHisto.fadeTo(500, 0);
});

function appearance()
{

}

function cloudClick()
{
    var lbCloud = $("#lbCloud");
    var lbHistogram = $("#lbHistogram");
    var contentFlow = $("#contentCloud");
    var contentHisto = $("#contentHisto");
    var btCompare = $("#btCompare");

    btCompare.hide();
    contentHisto.fadeTo(500, 0);
    contentFlow.fadeTo(500, 1.0);
    lbHistogram.fadeTo(500, 0.1);
    lbCloud.fadeTo(500, 1.0);
    btCompare.show();
}

function histoClick()
{
    var lbCloud = $("#lbCloud");
    var lbHistogram = $("#lbHistogram");
    var contentFlow = $("#contentCloud");
    var contentHisto = $("#contentHisto");
    var btCompare = $("#btCompare");

    btCompare.hide();
    contentFlow.fadeTo(500, 0);
    contentHisto.fadeTo(500, 1.0);
    lbCloud.fadeTo(500, 0.1);
    lbHistogram.fadeTo(500, 1.0);
    btCompare.show();
}
